Creating run shell script tasks

Shell script tasks are used to execute a sequence of commands.

Procedure

  1. On the Deployment plan detail page, click Create Task.
    If you want to insert a task at a specific position in the plan, select a task before using the Create Task. The new task is inserted above the selected task.
  2. On the Create task dialog box, in the Type list, select Run a Shell Script Task.
  3. In the Name field, enter a name for the task.
  4. In the Description field, enter or paste a description.
    You might enter a note, a reminder, or other instructions in the field.
  5. In the Shell Script field, enter or paste the shell script code. An example shell script code is the following:
    
         echo "Hello World"
         sleep 2
         "Do some stuff..."
         sleep 2
         echo "Task finished"
             
  6. Click Save.
    The task is inserted into the deployment plan.